// token 相关的工具库

const CACHE_TOKEN_KEY = 'token'

function getToken() {
  return localStorage.getItem(CACHE_TOKEN_KEY)
}
function setToken(value) {
  localStorage.setItem(CACHE_TOKEN_KEY, value)
}
function removeToken() {
  localStorage.removeItem(CACHE_TOKEN_KEY)
}

export { setToken, getToken, removeToken }